package cn.edu.njnu.opengmpback.collaboration.repository;

import cn.edu.njnu.opengmpback.collaboration.entity.SubCollabProject;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.util.List;

@RepositoryRestResource(path = "subproject")
public interface SubCollabProjectRepository extends MongoRepository<SubCollabProject, String> {
    public List<SubCollabProject> findByParent(String aid);
}
